﻿<UserControl x:Class="Mnk.Library.WpfControls.Components.Units.GraphUnit"
             xmlns:loc="clr-namespace:Mnk.Library.WpfControls.Localization"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:graphics="clr-namespace:Mnk.Library.WpfControls.Components.Drawings.Graphics"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="600">
    <DockPanel>
        <Grid DockPanel.Dock="Bottom" Margin="5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="30"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="60"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="30"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="30"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="80"/>
            </Grid.ColumnDefinitions>
            <Label Content="{loc:Tr Max}" Padding="0" VerticalAlignment="Center" HorizontalAlignment="Right"/>
            <Label Name="lMax"  Padding="0" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="1"/>
            <Label Content="{loc:Tr Current}" Padding="0" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Column="2" FontWeight="Bold"/>
            <Label Name="lCurrent" Padding="0" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="3" FontWeight="Bold"/>
            <Label Content="{loc:Tr Avg}"  Padding="0" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Column="4"/>
            <Label Name="lAvg"  Padding="0" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="5"/>
            <Label Content="{loc:Tr Min}" Padding="0" VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Column="6"/>
            <Label Name="lMin" Padding="0" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="7"/>
            <CheckBox Content="{loc:Tr LowQuality}" Name="Aliased" IsChecked="True" Grid.Column="8" Checked="EdgeModeChanged" Unchecked="EdgeModeChanged"/>
        </Grid>
        <graphics:Graph x:Name="GraphPlot" DockPanel.Dock="Bottom" ToolTipService.ShowDuration="1000000000" Padding="0" Margin="0"/>
    </DockPanel>
</UserControl>
